//Edit Selected
private: System::Void menuItem13_Click(System::Object *  sender, System::EventArgs *  e)
		 {
			 if(AniList->SelectedIndex < 0)
				 return;

			 AnimObject *newAni = (AnimObject*)AniList->SelectedItem;
			 TGNAni *temp = newAni->GetAni();

			 bool result = AP->Execute(temp->ID, temp->nextID, temp->boundW, temp->boundH, temp->name);

			 if(result)
			 {
				temp->ID = AP->GetID();
				temp->nextID = AP->GetNextID();
				temp->boundW = AP->GetBBoxWidth();
				temp->boundH = AP->GetBBoxHeight();
				strncpy(temp->name, StringToArray(AP->GetName()), 10);

				AniList->Items->Insert(AniList->SelectedIndex, (Object*)newAni);
				AniList->Items->RemoveAt(AniList->SelectedIndex); 

				AniList->SelectedItem = newAni;
			 }

			 needsSave(true);
		 }

//Add Animation
private: System::Void menuItem10_Click(System::Object *  sender, System::EventArgs *  e)
		 {
			 AddAni_Click(NULL, NULL);
		 }

//Delete Selected
private: System::Void menuItem11_Click(System::Object *  sender, System::EventArgs *  e)
		 {
			 if(AniList->SelectedIndex < 0)
				 return;

			 AniList->Items->RemoveAt(AniList->SelectedIndex);
			 FrameList->DataSource = NULL;

			 needsSave(true);
		 }

//Delete All
private: System::Void menuItem12_Click(System::Object *  sender, System::EventArgs *  e)
		 {

			 for(int i = 0; i < MAX_ANIS; i++)
			 {
				 if(AniList->Items->get_Count() > 0)
					AniList->Items->RemoveAt(0);
			 }

			 FrameList->DataSource = NULL;
			 needsSave(true);
		 }